module.exports = app => {
    const { controller, middleware } = app;
    const jwtAuth = middleware.jwt(app.config.jwt);
    app.io.of('/public').route('/api/v1/chat/getPublicMessages', jwtAuth, controller.front.chats.getPublicMessages);
}